* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: "Poppins", serif;
    font-weight: 400;
    color: #1C1B19;
}

.cta__buttons{
    display: flex;
    align-self: center;
    justify-self: center;
    justify-content: center;
    width: 40%;
    margin: 20px auto 100px;
}

.hero{
    min-height: 100vh;
    background-color: #BED9D5;
    font-family: "Averia Serif Libre", serif;
    color: #1C1B19;
    text-align: center;
    position: relative;
    padding: 100px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.image__container{
    display: inline;
    grid-column: 2;
    grid-row: 1 / 6;
    position: relative;
    margin-bottom: 50px;
}


.prices{
    display: flex;
    width: 100%;
    justify-content: space-around;
    gap: 10px;
}

.price__time{
    font-size: 24px;
    color: #C38548;
}

.price__amount{
    font-size: clamp(24px, 2vw, 48px);
}

.planets__ornament{
    position: absolute;
    bottom: -20px;
    right: -60px;
}

.star__ornament{
    position: absolute;
}

.star1{
    left: 0;
}

.star2{
    scale: 0.7;
    bottom: 50px;
    left: -80px;
}

.star3{
    scale: 0.5;
    right: 0;
    top: 50px;
}

.hero__container{
    display: grid;
    grid-template-columns: 50% 50%;
    width: 80%;
    margin: 0 auto;
    column-gap: 50px;
    justify-items: center;
    align-items: center;
    row-gap: 20px;
}

.logo{
    grid-column: 1;
}

.hero h1{
    font-size: 150px;
    font-weight: 300;
    grid-column: 1;
    line-height: .8;
}

.hero h2{
    font-size: 32px;
    font-weight: 400;
    grid-column: 1;
    height: fit-content;
    text-transform: uppercase;
}

.hero .cta__buttons{
    grid-column: 1;
    width: 100%;
}

.hero .call__button{
    width: 50%;
    margin: 0 10px;
}

.call__button{
    padding: 10px 20px;
    border-radius: 50%;
    background-color: #DC1B27;
    color: #BED9D5;
    font-family: "Averia Serif Libre", serif;
    font-size: 28px;
    margin: 0 10px;
    width: 50%;
    text-align: center;
    padding: 20px 30px;
}

.photo{
    width: 600px;
    height: 600px;
    border-radius: 50%;
    max-width: 100%;
    max-height: 100%;
}

.article{
    background-color: #BED9D5;
    padding: 1px;
}

.ornament{
    position: absolute;
}

.sun__ornament, .eye__ornament, .asterisk__ornament, .asterisk-line__ornament{
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
}

.sun__ornament{
    left: 0;
    max-width: 40%;
}

.asterisk__ornament{
    max-height: 90%;
}

.eye__ornament{
    right: -110px;
}

.asterisk-line__ornament{
    left: -110px;
}

.yellow-star__ornament1{
    top: 60px;
}

.yellow-star__ornament2{
    top: 210px;
    right: 0;
}

.yellow-star__ornament3{
    top: 40px;
    right: 35%;
}

.yellow-star__ornament4{
    bottom: 40px;
    left: 40%;
}

.article__entry{
    border-top: 1px solid #1C1B19;
    border-bottom: 1px solid #1C1B19;
    display: grid;
    position: relative;
}

.article__entry h3{
    font-family: "Averia Serif Libre", serif;
    font-size: 40px;
    font-weight: 700;
}

.article__entry p{
    font-size: 20px;
    font-weight: 400;
}

.article__content{
    width: 80%;
    margin: 0 auto;
}

.article__entry{
    display: grid;
    grid-template-columns: 40% 60px auto;
    padding: 60px 0;
}

.article__entry h3{
    align-self: end;
    margin-bottom: 1em;
    grid-column: 3;
}

.article__entry p{
    grid-column: 3;
    direction: ltr;
}

.entry__img{
    grid-row: 1 / 3;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 1 / 1;
    align-self: center;
}

.entry2{
    direction: rtl;
    text-align: left;
}

.entry3{
    border-bottom: none;
}

.reviews{
    background-color: #BED9D5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.reviews h2{
    font-family: "Averia Serif Libre", serif;
    font-size: 40px;
    font-weight: 700;
}

.review{
    padding: 60px;
    width: 80%;
    border: solid 1px #1C1B19;
}

.review p{
    font-size: 20px;
    font-weight: 400;
}

footer{
    background-color: #BED9D5;
    font-family: "Averia Serif Libre", serif;
    color: #1C1B19;
    overflow: hidden;
}

.footer__top{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
}

.logo__container{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo__container h4{
    font-size: 36px;
}

.footer__cta{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "Averia Serif Libre", serif;
    gap: 20px;
}


.footer__cta .cta__buttons{
    display: flex;
    width: 100%;
    align-items: center;
    margin: 0;
}

.footer__cta .call__button{
    text-wrap: nowrap;
    font-size: 16px;
}

.footer__links{
    border-top: 1px solid rgba(28, 27, 25, 0.3);
    display: flex;
    padding: 50px 0;
    
    gap: 30px;
    justify-content: center;
    margin-top: 20px;
    font-family: "Poppins";
}

.footer__links a{
    text-decoration: none;
    color: rgba(28, 27, 25, 0.75);
    font-size: 16px;
    font-weight: 400;
}

@media(max-width: 1600px){
    .yellow-star__ornament3, .yellow-star__ornament2{
        display: none;
    }
}

@media(max-width: 1500px){
    .hero__container{
        width: 90%;
    }
}

@media(max-width: 1400px){
    .hero__container{
        display: flex;
        flex-direction: column;
    }
    .hero .cta__buttons{
        width: 800px;
        max-width: 100%;
    }
    .cta__buttons{
        width: 60%;
    }
}

@media(max-width: 1000px){
    .article__entry{
        display: flex;
        flex-direction: column;
        text-align: left;
    }
    .article__entry h3{
        align-items: flex-start;
        width: 100%;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    .ornament{
        display: none;
    }
    .cta__buttons{
        width: 80%;
    }
    .footer__top{
        flex-direction: column;
        gap: 0;
    }
    footer .logo{
        height: 100px;
    }
}

@media(max-width: 800px){
    .hero{
        overflow: hidden;
    }
    .hero__container{
        width: 100%;
        padding: 0;
    }
    .hero .cta__buttons{
        width: 800px;
        max-width: 100%;
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }
    .hero .image__container{
        width: 400px;
        height: 400px;
    }
    .planets__ornament{
        scale: 0.6;
    }
    .star2{
        left: -40px;
    }
    .star3{
        right: -20px;
    }
    .cta__buttons{
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 60%;
    }
    .call__button{
        width: 100%;
    }
    .review{
        padding: 30px;
    }
    .footer__links{
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        justify-items: center;
    }
}

@media(max-width: 700px){
    .hero .cta__buttons{
        width: 90%;
    }
    .hero .call__button{
        width: 100%;
    }
    .review{
        width: 90%;
    }
}

@media(max-width: 600px){
    .hero h1{
        font-size: 64px;
    }
    .hero h2{
        font-size: 24px;
    }
    .logo{
        height: 120px;
    }
}

@media(max-width: 500px){
    .price__time{
        font-size: 24px;
    }
    .prices{
        flex-direction: column;
        width: 100%;
        gap: 40px;
        align-items: center;
    }
    .price__amount{
        font-size: 36px;
    }
    .image__container{
        scale: 0.8;
        margin: -40px;
    }
    .article__content{
        width: 90%;
    }
    .cta__buttons{
        width: 90%;
    }
    .footer__links a{
        font-size: 12px;
    }
    .footer__links{
        gap: 20px 0;
    }
    .footer__cta{
        width: 90%;
    }
}

@media(max-width: 400px){
    .hero{
        padding: 0;
    }
    .hero h1{
        font-size: 48px;
    }
    .hero h2{
        font-size: 16px;
    }
    .image__container{
        scale: 0.65;
        margin: -60px;
    }
    .article h3{
        font-size: 24px;
    }
    .article p{
        font-size: 16px;
    }
    .review p{
        font-size: 16px;
    }
    .call__button{
        font-size: 16px;
    }
}
